LiteSpeed\Cloud D

Total Complexity 258
Dependencies 12
Dependents 17
Total lines 1,456
Lines of code 851
Logical lines of code 590
Comment lines 275
Methods 44
Properties 8

Methods 44

Method Rating Maintainability Complexity Lines of code
detect_cloud()
C
32 30 91
extract_msg()
C
32 28 92
allowance()
B
45 18 40
_maybe_cloud()
B
40 17 54
_parse_response()
A
40 13 59
_update_news()
A
50 13 26
gen_key()
A
45 9 40
parse_qc_redir()
A
48 9 31
_parse_rest_response()
A
48 8 33
handler()
A
50 8 30
rest_err_domains()
A
55 8 16
_post()
S
49 7 28
check_dev_version()
S
54 7 20
_get()
S
50 6 28
save_apikey()
S
53 6 21
is_from_cloud()
S
59 5 14
ip_validate()
S
55 4 19
_is_err_domain()
S
64 5 9
_validate_hash()
S
59 4 14
sync_usage()
S
61 4 12
clear_cloud()
S
62 4 12
version_check()
S
61 4 11
req_rest_api()
S
55 3 20
news()
S
64 4 10
_parse_link()
S
62 4 10
has_pkg()
S
69 3 6
_link_to_qc()
S
61 2 12
_update_ips()
S
61 2 11
show_promo()
S
71 2 6
_clear_promo()
S
66 2 9
_maybe_queue()
S
75 2 4
can_token()
S
77 2 3
set_keygen_token()
S
66 2 8
token_validate()
S
63 2 10
can_link_qc()
S
78 2 3
ok()
S
76 1 4
err()
S
78 1 3
post()
S
74 1 4
set_linked()
S
76 1 4
_clean_api_key()
S
63 1 9
_api_key()
S
80 1 3
_remove_domain_from_err_list()
S
76 1 4
get()
S
75 1 4
__construct()
S
76 1 4